Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcSumProductFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 1 - 255 items: array1, [array2], [array3], ..

Array1, array2, array3, ... are 2 to 255 arrays whose components you want to multiply and then add.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Multiplies corresponding components in the given arrays, and returns the sum of those products.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcSumProductFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 1 - 255 items: array1, [array2], [array3], ..

    Array1, array2, array3, ... are 2 to 255 arrays whose components you want to multiply and then add.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also